package com.basic.sys.domain;

import com.basic.sys.dao.model.DataMonitor;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.Date;
import java.util.List;

public class DataMonitorBo extends DataMonitor {
    private int page;
    @JsonProperty("DateTime")
    private List<String> DateTime;
    private int pageSize;
    private Date selectTime;
    private String countType;

    public String getCountType() {
        return countType;
    }

    public void setCountType(String countType) {
        this.countType = countType;
    }

    public java.util.Date getSelectTime() {
        return selectTime;
    }

    public void setSelectTime(Date selectTime) {
        this.selectTime = selectTime;
    }

    public List<String> getDateTime() {
        return DateTime;
    }

    public void setDateTime(List<String> dateTime) {
        DateTime = dateTime;
    }

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date beginTime;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    public DataMonitorBo() {
    }

    public DataMonitorBo(int page, int pageSize, Date beginTime, Date endTime) {
        this.page = page;
        this.pageSize = pageSize;
        this.beginTime = beginTime;
        this.endTime = endTime;
    }

    /**
     * 获取
     * @return page
     */
    public int getPage() {
        return page;
    }

    /**
     * 设置
     * @param page
     */
    public void setPage(int page) {
        this.page = page;
    }

    /**
     * 获取
     * @return pageSize
     */
    public int getPageSize() {
        return pageSize;
    }

    /**
     * 设置
     * @param pageSize
     */
    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }


    /**
     * 获取
     * @return beginTime
     */
    public Date getBeginTime() {
        return beginTime;
    }

    /**
     * 设置
     * @param beginTime
     */
    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    /**
     * 获取
     * @return endTime
     */
    public Date getEndTime() {
        return endTime;
    }

    /**
     * 设置
     * @param endTime
     */
    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String toString() {
        return "DataMonitorBo{page = " + page + ", pageSize = " + pageSize + ", beginTime = " + beginTime + ", endTime = " + endTime + "}";
    }
}
